package com.block.merchant.service;

import com.block.db.entity.MemberSourceInfo;
import com.block.db.entity.MerchantBaseInfo;
import com.block.merchant.model.dto.MerchantOrderDTO;
import com.block.merchant.model.result.DataPushResult;
import com.block.merchant.model.result.MatchMerchantInfo;

public interface ICommonSourceDataHandleService {

    /**
     * 和机构进行匹配
     *
     */
    MatchMerchantInfo sourceCheckWithMerchant(MerchantBaseInfo merchantBaseInfo, MerchantOrderDTO merchantOrderDTO, MemberSourceInfo memberSourceInfo) throws Exception;


    /**
     * 给商户进行推送
     */
    DataPushResult sourcePushToMerchant(MerchantOrderDTO merchantOrderDTO, MerchantBaseInfo merchantBaseInfo, MemberSourceInfo memberSourceInfo) throws Exception;

}
